package com.islewars.client.dto;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.IsSerializable;

public class GameDto implements IsSerializable {
	public PlayerDto creator;
	public String name;
	public List<PlayerDto> players;
	public List<MountainDto> mountainDtos;
	public boolean inProgress;
	
	public GameDto() {
		players = new ArrayList<PlayerDto>();
	}

	public GameDto(PlayerDto creator, String name, List<MountainDto> mountainDtos) {
		this();
		
		this.creator = creator;
		players.add(creator);
		this.name = name;
		this.mountainDtos = mountainDtos;
		inProgress = false;
	}
	
	
}
